<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>VJ 后台管理系统</title>
    <meta name="Keywords" content="VJ 后台管理系统"/>
    <meta name="Description" content="VJ 后台管理系统"/>
    <!-- bootstrap - css -->
    <link href="__LIB__/B-JUI/themes/css/bootstrap.css" rel="stylesheet">
    <!-- core - css -->
    <link href="__LIB__/B-JUI/themes/css/style.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/themes/blue/core.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/themes/css/fontsize.css" rel="stylesheet">
    <!-- plug - css -->
    <link href="__LIB__/B-JUI/plugins/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/plugins/nice-validator-1.0.7/jquery.validator.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/plugins/bootstrapSelect/bootstrap-select.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/plugins/webuploader/webuploader.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/plugins/zeroclipboard/zeroclipboard.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/themes/css/FA/css/font-awesome.min.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/plugins/bootstrapFileinput/css/fileinput.css" rel="stylesheet">
    <link href="__LIB__/B-JUI/plugins/icheck/skins/square/_all.css" rel="stylesheet">
    <!-- Favicons -->
    <link rel="shortcut icon" href="__IMG__/favicon.ico">
    <!--[if lte IE 7]>
    <link href="__LIB__/B-JUI/themes/css/ie7.css" rel="stylesheet">
    <![endif]-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
    <script src="__LIB__/B-JUI/other/html5shiv.min.js"></script>
    <script src="__LIB__/B-JUI/other/respond.min.js"></script>
    <script src="__LIB__/B-JUI/other/ie10-viewport-bug-workaround.js"></script>
    <![endif]-->
    <!-- jquery -->
    <script src="__LIB__/B-JUI/js/jquery-1.11.3.min.js"></script>
    <script src="__LIB__/B-JUI/js/jquery.cookie.js"></script>
    <!--[if lte IE 9]>
    <script src="__LIB__/B-JUI/other/jquery.iframe-transport.js"></script>
    <![endif]-->
    <!-- B-JUI -->
    <script src="__LIB__/B-JUI/js/bjui-all.js"></script>
    <!-- plugins -->
    <!-- swfupload for kindeditor -->
    <script src="__LIB__/B-JUI/plugins/swfupload/swfupload.js"></script>
    <!-- Webuploader -->
    <script src="__LIB__/B-JUI/plugins/webuploader/webuploader.js"></script>
    <!-- neditor -->
    <script type="text/javascript" charset="utf-8" src="__LIB__/B-JUI/plugins/neditor/neditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__LIB__/B-JUI/plugins/neditor/neditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="__LIB__/B-JUI/plugins/neditor/lang/zh-cn/zh-cn.js"></script>
    <script type="text/javascript" charset="utf-8" src="__LIB__/B-JUI/plugins/neditor/neditor.parse.min.js"></script>
    <!-- colorpicker -->
    <script src="__LIB__/B-JUI/plugins/colorpicker/js/bootstrap-colorpicker.min.js"></script>
    <!-- ztree -->
    <script src="__LIB__/B-JUI/plugins/ztree/jquery.ztree.all-3.5.js"></script>
    <!-- nice validate -->
    <script src="__LIB__/B-JUI/plugins/nice-validator-1.0.7/jquery.validator.js"></script>
    <script src="__LIB__/B-JUI/plugins/nice-validator-1.0.7/jquery.validator.themes.js"></script>
    <!-- bootstrap plugins -->
    <script src="__LIB__/B-JUI/plugins/bootstrap.min.js"></script>
    <script src="__LIB__/B-JUI/plugins/bootstrapSelect/bootstrap-select.min.js"></script>
    <script src="__LIB__/B-JUI/plugins/bootstrapSelect/defaults-zh_CN.min.js"></script>
    <script src="__LIB__/B-JUI/plugins/bootstrapFileinput/js/fileinput.min.js"></script>
    <script src="__LIB__/B-JUI/plugins/bootstrapFileinput/js/locales/zh.js"></script>
    <script src="__LIB__/B-JUI/plugins/bootstrapFileinput/themes/fa/theme.min.js"></script>
    <!-- icheck -->
    <script src="__LIB__/B-JUI/plugins/icheck/icheck.min.js"></script>
    <!-- HighCharts -->
    <script src="__LIB__/B-JUI/plugins/highcharts/highcharts.js"></script>
    <script src="__LIB__/B-JUI/plugins/highcharts/highcharts-3d.js"></script>
    <script src="__LIB__/B-JUI/plugins/highcharts/themes/gray.js"></script>
    <!-- other plugins -->
    <script src="__LIB__/B-JUI/plugins/other/jquery.autosize.js"></script>
    <link href="__LIB__/B-JUI/plugins/uploadify/css/uploadify.css" rel="stylesheet">
    <script src="__LIB__/B-JUI/plugins/uploadify/scripts/jquery.uploadify.min.js"></script>
    <script src="__LIB__/B-JUI/plugins/download/jquery.fileDownload.js"></script>
    <!-- init -->
    <script>
        $(function() {
            BJUI.init({
                JSPATH       : '__LIB__/B-JUI/',         //[可选]框架路径
                PLUGINPATH   : '__LIB__/B-JUI/plugins/', //[可选]插件路径
                loginInfo    : {
                    url:'{:url(M . "/sys_login/login")}'
                }, // 会话超时后弹出登录对话框
                debug        : false    // [可选]调试模式 [true|false，默认false]
            });
        });
        // 监听浏览器离开
        /*$(window).on('beforeunload', function () {
            return "Do you really want to close?";
        });*/
        //菜单-事件-zTree
        function MainMenuClick(event, treeId, treeNode) {
            if (treeNode.target && treeNode.target == 'dialog' || treeNode.target == 'navtab')
                event.preventDefault()
            if (treeNode.isParent) {
                var zTree = $.fn.zTree.getZTreeObj(treeId)
                zTree.expandNode(treeNode)
                return
            }
            if (treeNode.target && treeNode.target == 'dialog')
                $(event.target).dialog({id: treeNode.targetid, url: treeNode.url, title: treeNode.name})
            else if (treeNode.target && treeNode.target == 'navtab')
                $(event.target).navtab({
                    id: treeNode.targetid,
                    url: treeNode.url,
                    title: treeNode.name,
                    fresh: treeNode.fresh,
                    external: treeNode.external
                })
        }
    </script>
</head>
<body>

<script src="__LIB__/B-JUI/plugins/vj-plugins/vj-loading.min.js"></script>

<!--[if lte IE 7]>
<div id="errorie"><div>您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本 <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>&nbsp;&nbsp;强烈建议您更改换浏览器：<a href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a></div></div>
<![endif]-->

<nav class="navbar navbar-inverse" id="navbar">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" id="nav-collapse-btn" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
                <i class="fa fa-bars"></i>
            </button>
            <a class="navbar-brand" href="#">
                <i class="fa fa-leaf"></i>
                VJ 后台管理系统
            </a>
        </div>
        <div class="collapse navbar-collapse" id="navbar-collapse">
            <ul class="nav navbar-nav bjui-hnav-navbar" id="bjui-hnav-navbar">
                {volist name="menus" id="val"}
                    {eq name="key" value="0"}
                        <li class="active">
                            <a href="{$val.url}" data-toggle="sidenav">
                                <i class="fa fa-{$val.icon}"></i>
                                {$val.name}
                            </a>
                        </li>
                    {else/}
                        <li>
                            <a href="{$val.url}" data-toggle="sidenav">
                                <i class="fa fa-{$val.icon}"></i>
                                {$val.name}
                            </a>
                        </li>
                    {/eq}
                {/volist}
            </ul>
            <ul class="nav navbar-nav navbar-right bjui-hnav-navbar">
                <li>
                    <a href="{:url(M_C . 'changePassword')}" data-toggle="dialog" data-icon="key" data-id="{:MC . 'changePassword'}" data-mask="true" data-width="650" data-height="500">
                        <i class="fa fa-key"></i>
                        修改密码
                    </a>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        <img class="user-pic" src="{:getFileUrl($manager.avatar)}" alt="{$manager.name}">
                        {$manager.name} <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="#">
                                <i class="fa fa-user-circle"></i>
                                个人信息
                            </a>
                        </li>
                        <li role="separator" class="divider"></li>
                        <li>
                            <a data-toggle="doajax"
                               data-confirm-msg="确定要退出系统吗？"
                               href="{:url(M_C . 'logout')}">
                                <i class="fa fa-power-off"></i>
                                退出系统
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<div id="bjui-body-box">
    <div class="container_fluid" id="bjui-body">
        <div id="bjui-sidenav-col">
            <div id="bjui-sidenav">
                <div id="bjui-sidenav-arrow" data-toggle="tooltip" data-placement="left" data-title="隐藏左侧菜单">
                    <i class="fa fa-long-arrow-left"></i>
                </div>
                <div id="bjui-sidenav-box">

                </div>
            </div>
        </div>
        <div id="bjui-navtab" class="tabsPage">
            <div id="bjui-sidenav-btn" data-toggle="tooltip" data-title="显示左侧菜单" data-placement="right">
                <i class="fa fa-bars"></i>
            </div>
            <div class="tabsPageHeader">
                <div class="tabsPageHeaderContent">
                    <ul class="navtab-tab nav nav-tabs">
                        <li><a href="javascript:;"><span><i class="fa fa-home"></i> #maintab#</span></a></li>
                    </ul>
                </div>
                <div class="tabsLeft"><i class="fa fa-angle-double-left"></i></div>
                <div class="tabsRight"><i class="fa fa-angle-double-right"></i></div>
                <div class="tabsMore"><i class="fa fa-angle-double-down"></i></div>
            </div>
            <ul class="tabsMoreList">
                <li><a href="javascript:;"><i class="fa fa-home"></i> #maintab#</a></li>
            </ul>
            <div class="navtab-panel tabsPageContent">
                <div class="navtabPage unitBox">
                    <div class="bjui-pageContent">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h4>
                                    <i class="fa fa-cogs"></i>
                                    系统环境信息
                                </h4>
                            </div>
                            <table class="table table-bordered table-hover">
                                {volist name="info" id="val"}
                                    <tr>
                                        <th>{$key}</th>
                                        <td>{$val}</td>
                                    </tr>
                                {/volist}
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="__LIB__/B-JUI/other/ie10-viewport-bug-workaround.js"></script>
</body>
</html>